package com.jiyun.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jiyun.mapper.YejigoalTeamMapper;
import com.jiyun.model.xitong.YejigoalTeam;
import com.jiyun.service.IYejigoalTeamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author author
 * @since 2024-09-25
 */
@Service
public class YejigoalTeamServiceImpl extends ServiceImpl<YejigoalTeamMapper, YejigoalTeam> implements IYejigoalTeamService {
    @Autowired
    private YejigoalTeamMapper yejigoalTeamMapper;

    @Override
    public Page<YejigoalTeam> findAll(Integer pageNum, Integer pageSize, YejigoalTeam yejigoalTeam) {
        return yejigoalTeamMapper.findAll(new Page<YejigoalTeam>(pageNum,pageSize),yejigoalTeam);
    }
}
